<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<%@ include file="/common/taglibs.jsp" %>
<%@page contentType="text/html;charset=UTF-8" %>
<%@page pageEncoding="UTF-8" %>
<html>
<head>
    <title>注册成功</title>
    <link type="text/css" rel="stylesheet" href="${static_server_root}/static/styles/b2c.css"/>
    <link type="text/css" rel="stylesheet" href="${static_server_root}/static/styles/layout.css"/>
    <script type="text/javascript" src="${static_server_root}/static/scripts/jquery/jquery-1.7.2.min.js"></script>

    <script type="text/javascript">
        $(document).ready(function () {
            $('#verifyEmail').css('cursor','pointer');
            var email = $('input#email').val();
            $('#verifyEmail').click(function () {
                var url = 'mail.' + email.substring(email.indexOf('@') + 1);
                window.open("http://" + url);
            });

            var s = 3;
            document.getElementById('remainS').innerHTML = s;
            var timeInterval = setInterval(function () {
                if (s == 0) {
                    clearInterval(timeInterval);
                    window.location='/';
                }
                s -= 1;
                document.getElementById('remainS').innerHTML = s;
            }, 1000);
        });
    </script>
</head>
<body>
<div class="cart_w ico_carpng">
    <input type="hidden" id="email" value="${email}"/>
    <div class="til_shopcar"><span class="tilspcarlft"></span><span class="tilspcarcon"><fmt:message key="user.registered.congratulation"/></span><span
            class="tilspcarig"></span><span class="tilspcarlogo carlogo"></span></div>
    <div class="cart_wcon">

        <div class="carorder">
            <h1><fmt:message key="user.registered.congratulation"/></h1>

            <div class="carorderbox">
                <p><fmt:message key="user.registered.username"/><span class="price">${username}</span><fmt:message
                        key="user.registered.desc1"/></p>

                <p><fmt:message key="user.registered.desc2"/><a  id="verifyEmail"><fmt:message
                        key="user.registered.desc3"/></a></p>

                <p><fmt:message key="user.registered.desc4"/></p>

                <p class="margintop10 clearfix">
                    <span>剩下<strong id="remainS"></strong>秒跳到首页</span>
                    <span><a href="/" target="_self"><fmt:message key="menu.back.home"/></a></span>
                </p>
            </div>
        </div>
    </div>
</div>

<!--Darwin Track System Ver2.0 Begin-->
<script type="text/javascript">
    var _rsClientId="93";
    var _rsStepId=1;
    var _rsStepTp=101;
    var _rsIsSVL=false;
    var _rsOrderId="${username}";     //注册邮箱,如：var _rsOrderId="dwtest03@darwin.com";
    var _rsDWLP=location.protocol.indexOf("https")>-1?"https:":"http:";
    var _rsDWDN="//sv.dmclick.cn/";
    var _rsDWURL = _rsDWLP+_rsDWDN+"trk.js";
    document.write(unescape("%3Cscript src='" + _rsDWURL + "' type='text/javascript'%3E%3C/script%3E"));
</script>
<!--Darwin Track System Ver2.0 End-->


</body>
</html>